package com.chixing.day03_oop;

public class PersonTest {
    public static void main(String[] args) {
        Person person1 = new Person();
        person1.setPersonName("张三");
        person1.setPersonAge(24);
        person1.setPersonGender("男");
        person1.setPersonMarry("未婚");

        Person person2 = new Person();
        person2.setPersonName("li");
        person2.setPersonAge(23);
        person2.setPersonGender("女");
        person2.setPersonMarry("未婚");


        System.out.println(person1.canMarry(person2));
    }
}
